<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0079)http://admin.online.zjgames.cn/Module/AppManager/SystemMessageInfo.aspx?cmd=add -->
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../styles/icon.css" rel="stylesheet" type="text/css">
    <link href="../../styles/iconfont.css" rel="stylesheet" type="text/css">

    <link href="../../styles/bootUpload.css" rel="stylesheet" type="text/css">
    <script src="../../js/lib/jquery-3.6.2.min.js" type="text/javascript"></script>
    <script src="../../js/shared/enumeration.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../../lib/bootstrap-icons/font/bootstrap-icons.min.css">
    <link rel="stylesheet" href="../../lib/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../lib/bootstrap-table/dist/bootstrap-table.min.css">
    <link rel="stylesheet" href="../../dist/css/bootstrap-admin.min.css">


    <script src="../../js/shared/code.js" type="text/javascript"></script>
    <script src="../../js/shared/utils.js" type="text/javascript"></script>
    <script src="../../js/shared/API.js" type="text/javascript"></script>
    <script src="../../js/lib/fileUpload.js" type="text/javascript"></script>
    <script src="../../js/union/unionRobot.js" type="text/javascript"></script>


    <script src="../../lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script src="../../lib/bootstrap-table/dist/bootstrap-table.min.js"></script>
    <script src="../../lib/sweetalert2/dist/sweetalert2.all.min.js"></script>
    <script src="../../dist/js/bootstrap-admin.min.js"></script>
    <script src="../../dist/js/app.js"></script>
    <script src="../../styles/bootstrap/js/table-cn.js" type="text/javascript"></script>


    <title></title>
</head>



<body class="bg-body-tertiary py-3">

    <div class="container-fluid">
        <div class="card border-0 shadow-sm">
            <div class="card-header bg-body py-3">
                <form class="row row-cols-sm-auto g-3 align-items-center">
                    <div class="col-12">
                        <div class="row">
                            <label for="status" class="col-sm-auto col-form-label">游戏类型</label>
                            <div class="col">
                                <select class="form-control" id="selectType" style="width: 200px;" name="selectType">
                                    <option value="0">全部</option>
                                    <option value="-1">未投放</option>
                                </select>
                            </div>
                        </div>
                    </div>


                    <div class="col-12 gap-2">

                        <button type="button" class="btn btn-light bsa-querySearch-btn" onclick="createList()">
                            <i class=" bi bi-search"></i>查询
                        </button>
                        <!-- <button type=" button" class="btn btn-light bsa-reset-btn">
                            <i class="bi bi-arrow-clockwise"></i>重置
                        </button> -->

                    </div>

                </form>
            </div>
            <div class="card-body">

                <!--  表格上方左侧的工具条区域    -->
                <div id="toolbar" class="d-flex flex-wrap gap-2 mb-2">
                    <button type="button" class="btn btn-primary" data-toggle="modal" onclick="addType()">批量投放</button>
                </div>
                <table id="robotData" style="font-size: 14px;" class="table table-bordered" data-locale="zh-CN">
                </table>
            </div>


        </div>

    </div>

    <div class="modal fade" id="addType" tabindex="-1" aria-labelledby="addOrderLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">机器人投放</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">

                    <div class="form-group">
                        <label for="addUserID">机器人ID</label>
                        <input type="text" class="form-control" id="reAddUserID">


                        <div class="row">
                            <div class="col-md-6" style="padding: 0px,10px,-10px,0px;">
                                <div class="form-group">
                                    <label for="robotType">陪玩类型</label>
                                    <select class="form-control" id="robotType">
                                        <option value="1">被动陪打</option>
                                        <option value="2">主动陪打</option>
                                        <option value="0">气氛组</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group" style="padding: 0px,10px,-10px,0px;">
                                    <label for="addWinType">控制类型</label>
                                    <select class="form-control" id="addWinType">
                                        <option value="0">正常</option>
                                        <option value="1">输</option>
                                        <option value="2">赢</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group" style="padding: 0px,10px,-10px,0px;">
                                    <label for="addWinRate">输赢比例</label>
                                    <input type="text" class="form-control" id="addWinRate">
                                    <!-- <select class="form-control" id="addWinRate">
                                        <option value="100">赢</option>
                                        <option value="50">随机</option>
                                        <option value="0">输</option>
                                    </select> -->
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6" style="padding: 0px,10px,-10px,0px;">
                                <div class="form-group">
                                    <label for="winScore">最大赢分</label>
                                    <input type="text" class="form-control" id="winScore">
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group" style="padding: 0px,10px,-10px,0px;">
                                    <label for="loseScore">最大输分</label>
                                    <input type="text" class="form-control" id="loseScore">
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6" style="padding: 0px,10px,-10px,0px;">
                                <div class="form-group">
                                    <label for="reGameType">开始时间</label>
                                    <select class="form-control" id="beginTime">
                                        <option value="0" selected>0</option>
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                                        <option value="3">3</option>
                                        <option value="4">4</option>
                                        <option value="5">5</option>
                                        <option value="6">6</option>
                                        <option value="7">7</option>
                                        <option value="8">8</option>
                                        <option value="9">9</option>
                                        <option value="10">10</option>
                                        <option value="11">11</option>
                                        <option value="12">12</option>
                                        <option value="13">13</option>
                                        <option value="14">14</option>
                                        <option value="15">15</option>
                                        <option value="16">16</option>
                                        <option value="17">17</option>
                                        <option value="18">18</option>
                                        <option value="19">19</option>
                                        <option value="20">20</option>
                                        <option value="21">21</option>
                                        <option value="22">22</option>
                                        <option value="23">23</option>
                                        <option value="24">24</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group" style="padding: 0px,10px,-10px,0px;">
                                    <label for="addWinRate">结束时间</label>
                                    <select class="form-control" id="endTime">
                                        <option value="0">0</option>
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                                        <option value="3">3</option>
                                        <option value="4">4</option>
                                        <option value="5">5</option>
                                        <option value="6">6</option>
                                        <option value="7">7</option>
                                        <option value="8">8</option>
                                        <option value="9">9</option>
                                        <option value="10">10</option>
                                        <option value="11">11</option>
                                        <option value="12">12</option>
                                        <option value="13">13</option>
                                        <option value="14">14</option>
                                        <option value="15">15</option>
                                        <option value="16">16</option>
                                        <option value="17">17</option>
                                        <option value="18">18</option>
                                        <option value="19">19</option>
                                        <option value="20">20</option>
                                        <option value="21">21</option>
                                        <option value="22">22</option>
                                        <option value="23">23</option>
                                        <option value="24" selected>24</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6" style="padding: 0px,10px,-10px,0px;">
                                <div class="form-group">
                                    <label for="reGameType">投放游戏</label>
                                    <select class="form-control" id="reGameType">
                                        <option value="-1">暂不投放</option>
                                        <option value="0">全部</option>
                                    </select>
                                </div>
                            </div>

                        </div>


                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="addRobotToGameType()">确定</button>
                </div>
            </div>
        </div>
    </div>








</body>



</html>